package org.asiainfo.file;

import com.github.tobato.fastdfs.FdfsClientConfig;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.metrics.buffering.BufferingApplicationStartup;
import org.springframework.context.annotation.Import;

/**
 * 文件服务
 *
 * @author dotor-ww
 */
@EnableDubbo
@Import(FdfsClientConfig.class)
@SpringBootApplication
public class AsiainfoFileApplication {
    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(AsiainfoFileApplication.class);
        application.setApplicationStartup(new BufferingApplicationStartup(2048));
        application.run(args);
    }
}
